#pragma once

#include "LogView.h"
#include "XmlConfigLoader.h"

class StdLog : public LogView, public XmlConfigLoader
{
	friend class LogSystem;
public:
	DECLARE_XML_CONFIG_LOADER;
	static const char _StdLogFilename[];
	static const char _ConfigFilename[];

	StdLog(void);
	~StdLog(void);

protected:
	HRESULT Create(void);
	DECLARE_XML_STRING(_CreationMode);
	DECLARE_XML_INTEGER(_Channel);
};

extern StdLog * Log;
